package com.yuantu.judiciary.exception.enums;

import com.yuantu.judiciary.common.CodeEnum;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 套餐模块异常码
 *
 * @author syw
 * @since 2023-08-11
 **/
@Getter
@RequiredArgsConstructor
public enum VipExceptionEnum implements CodeEnum {
    /**
     * 套餐相关
     */
    VIP_NAME_EXIST(45001, "套餐名称已存在"),
    VIP_NOT_EXIST(45002, "套餐不存在"),
    VIP_ACCOUNT_NUM_EXCEED(45003, "套餐账号数量超过限制"),
    VIP_RECORD_EXIST(45004, "套餐记录已存在，请勿重复添加"),
    VIP_RECORD_NOT_EXIST(45005, "套餐记录不存在"),
    TRADE_NO_EMPTY(45006, "查询订单号不能为空"),
    MEMBERSHIP_CARD_NOT_EXIST(45007, "会员卡信息不存在"),

    ;

    private final int code;
    private final String message;
}
